﻿using System.Threading.Tasks;
using Loong.Dependency;

namespace Loong.Authorization
{
    public interface IPermissionChecker : ITransientDependency
    {
        Task<bool> IsGrantedAsync(long userId, string permission);
    }
}
